#ifdef _WINDOWS
#include <Windows.h>
#include <glew.h>
#include <wglew.h>

#pragma comment(lib, "glew32.lib")
#pragma comment(lib, "opengl32.lib")

#endif

class OpenGLRenderer {
public:
#ifdef _WINDOWS
	bool setup(HWND hwnd);
#endif
	void reshapeWindow(int x, int y, int width, int height);
	bool renderView();
	bool setupRenderer();
private:
	bool createContext();

	int windowWidth;
	int windowHeight;
protected:
#ifdef _WINDOWS
	HWND windowHWND;
	HDC windowHDC;
	HGLRC windowHRC;
#endif
};